using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities.Auditing;
using Abp.Domain.Entities;

namespace Precise.Goods
{
	[Table("Goods")]
    public class Goods : Entity<long> , IMustHaveTenant
    {
			public int TenantId { get; set; }
			

		[Required]
		[StringLength(GoodsConsts.MaxNameLength, MinimumLength = GoodsConsts.MinNameLength)]
		public virtual string Name { get; set; }
		
		public virtual long TotalNumber { get; set; }
		
		public virtual decimal Price { get; set; }
		
		public virtual string Description { get; set; }
		

    }
}